Details

Time bar (total: 7.3s)

sample25.0ms

Algorithm
intervals
Results
13.0ms272×body80valid
0.0msbody640valid

simplify918.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
01215
15415
214614
331914
498014
5330814
done500114

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
1.2b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.6b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in associate-*r/
frac-sub
tanh-def
pow1 add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l*
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
1.0ms
(tanh (/ x y))
1.0ms
(tanh (/ t y))
27.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series608.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(tanh (/ x y))
78.0ms
(tanh (/ t y))
211.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
242.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify622.0ms

Counts
101 → 101
Iterations

Useful iterations: 2 (140.0ms)

IterNodesCost
02052180
14811819
218851567
done50011567

prune283.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
4.9b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt *-un-lft-identity prod-diff
16×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in associate-*r/
frac-sub
pow1 add-exp-log add-cbrt-cube tanh-def
associate-*r*
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
sub-neg
flip3-- associate-*l* *-commutative flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 79
Calls
3 calls:
1.0ms
(tanh (/ x y))
1.0ms
(tanh (/ t y))
27.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series324.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(tanh (/ x y))
82.0ms
(tanh (/ t y))
160.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify819.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (174.0ms)

IterNodesCost
01972142
15681777
224581521
done50001521

prune238.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
5.8b
(* (* y z) (tanh (/ t y)))
5.9b
(* (* y z) (- (tanh (/ x y))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
14×pow1 add-exp-log add-cbrt-cube
13×associate-*r*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r/ pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u tanh-def add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-neg-frac
associate-*l* *-commutative
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 78
Calls
4 calls:
1.0ms
(tanh (/ x y))
1.0ms
(tanh (/ t y))
9.0ms
(* (* y z) (tanh (/ t y)))
11.0ms
(* (* y z) (- (tanh (/ x y))))

series336.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ x y))
81.0ms
(tanh (/ t y))
85.0ms
(* (* y z) (tanh (/ t y)))
88.0ms
(* (* y z) (- (tanh (/ x y))))

simplify541.0ms

Counts
90 → 90
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
0144933
1379900
21669791
done5000791

prune279.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (+ (* t z) (* (* y z) (- (tanh (/ x y))))))
0.0b
(+ (* t z) (* (* y z) (- (tanh (/ x y)))))
0.0b
(tanh (/ x y))
5.9b
(* (* y z) (- (tanh (/ x y))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
11×add-log-exp
10×*-un-lft-identity associate-*r*
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt
distribute-rgt-neg-out
expm1-log1p-u fma-def sum-log log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in associate-*r/ pow-prod-down prod-exp cbrt-unprod distribute-neg-frac
+-commutative associate-+r- flip3-+ unsub-neg flip-+ tanh-def
neg-mul-1 associate-+r+ associate-*l* *-commutative distribute-lft-out
Counts
4 → 80
Calls
4 calls:
7.0ms
(+ x (+ (* t z) (* (* y z) (- (tanh (/ x y))))))
3.0ms
(+ (* t z) (* (* y z) (- (tanh (/ x y)))))
1.0ms
(tanh (/ x y))
15.0ms
(* (* y z) (- (tanh (/ x y))))

series414.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(+ x (+ (* t z) (* (* y z) (- (tanh (/ x y))))))
147.0ms
(+ (* t z) (* (* y z) (- (tanh (/ x y)))))
81.0ms
(tanh (/ x y))
90.0ms
(* (* y z) (- (tanh (/ x y))))

simplify570.0ms

Counts
92 → 92
Iterations

Useful iterations: done (568.0ms)

IterNodesCost
01411197
14051064
21683980
done5000979

prune247.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes89.0ms

Accuracy

45.3% (1.2b remaining)

Error of 1.2b against oracle of 0.0b and baseline of 2.1b

bsearch86.0ms

Steps
ItersRangePoint
9
3.667757601784599e+196
1.4270606897735178e+206
4.7657315171304475e+204
8
-3.3874642457141104e+199
-1.3224067347097939e+197
-7.94401716664695e+198

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02242
13433
23633
done3633

end0.0ms

sample762.0ms

Algorithm
intervals
Results
512.0ms8300×body80valid
12.0ms79×body640valid
9.0ms42×body1280valid
8.0ms72×body320valid
2.0ms34×body160valid