Details

Time bar (total: 3.9s)

sample22.0ms

Algorithm
intervals
Results
10.0ms272×body80valid
0.0msbody640valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

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)

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

series609.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ x y))
79.0ms
(tanh (/ t y))
208.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
243.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify53.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04741186
11938917
25002917

prune290.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize10.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))))

rewrite30.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))
25.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series309.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(tanh (/ x y))
79.0ms
(tanh (/ t y))
153.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify65.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05611159
12549887
25003887

prune232.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.3b

localize12.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))))

rewrite27.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))
12.0ms
(* (* y z) (tanh (/ t y)))
11.0ms
(* (* y z) (- (tanh (/ x y))))

series320.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(tanh (/ x y))
79.0ms
(tanh (/ t y))
78.0ms
(* (* y z) (tanh (/ t y)))
86.0ms
(* (* y z) (- (tanh (/ x y))))

simplify49.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0376499
11804437
25001436

prune283.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.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))))

rewrite25.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))
12.0ms
(* (* y z) (- (tanh (/ x y))))

series402.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ x (+ (* t z) (* (* y z) (- (tanh (/ x y))))))
143.0ms
(+ (* t z) (* (* y z) (- (tanh (/ x y)))))
76.0ms
(tanh (/ x y))
90.0ms
(* (* y z) (- (tanh (/ x y))))

simplify62.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0403606
11830554
25001548

prune233.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes70.0ms

Accuracy

52.9% (2.2b remaining)

Error of 2.4b against oracle of 0.2b and baseline of 4.8b

bsearch98.0ms

Steps
ItersRangePoint
9
3.667757601784599e+196
1.4270606897735178e+206
1.7957852336618656e+200
10
-6.307364584979302e+174
-2.6658600629683448e+162
-2.7291235113682285e+171

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03414
13814
24514
34514

end0.0ms

sample566.0ms

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