Details

Time bar (total: 3.5s)

sample27.0ms

Algorithm
intervals
Results
14.0ms273×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.8b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
0.5b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite29.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))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
23.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series822.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ x y))
80.0ms
(tanh (/ t y))
245.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
417.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify57.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04741186
11938917
25002917

prune301.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

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

series539.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06501841
128801440
250021437

prune366.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(- x (* x z))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity fma-neg prod-diff add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 20
Calls
1 calls:
2.0ms
(- x (* x z))

series33.0ms

Counts
1 → 3
Calls
1 calls:
33.0ms
(- x (* x z))

simplify50.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
08996
128884
2134383
3500169

prune55.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

3.0b
(/ (* t z) y)
5.3b
(fma y (/ (* t z) y) x)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 33
Calls
2 calls:
3.0ms
(/ (* t z) y)
0.0ms
(fma y (/ (* t z) y) x)

series66.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ (* t z) y)
47.0ms
(fma y (/ (* t z) y) x)

simplify65.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0133144
1573122
22685122
35001122

prune89.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes151.0ms

Accuracy

0% (1.7b remaining)

Error of 1.8b against oracle of 0.1b and baseline of 1.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample586.0ms

Algorithm
intervals
Results
332.0ms8323×body80valid
13.0ms89×body640valid
8.0ms71×body320valid
8.0ms37×body1280valid
3.0ms43×body160valid