Details

Time bar (total: 33.5s)

sample23.0ms

Algorithm
intervals
Results
10.0ms266×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody1280valid
0.0msbody160valid

simplify77.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: 2.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×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 associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
1.0ms
(tanh (/ t y))
10.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
23.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series766.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05461798
121801400
250031397

prune363.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize19.0ms

Local error

Found 4 expressions with local error:

1.5b
(* z (+ (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))) (* (tanh (/ x y)) (+ (- 1) 1))))
6.5b
(cbrt (tanh (/ t y)))
6.5b
(cbrt (tanh (/ t y)))
6.5b
(cbrt (tanh (/ t y)))

rewrite1.1s

Algorithm
rewrite-expression-head
Rules
4761×cbrt-div
3819×frac-times
2980×associate-*r/
2853×tanh-def
2101×frac-add
2079×frac-sub
1464×associate-*l/
765×flip3-+ flip-+
11×add-sqr-sqrt flip3-- flip--
cbrt-prod add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 2173
Calls
4 calls:
657.0ms
(* z (+ (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))) (* (tanh (/ x y)) (+ (- 1) 1))))
1.0ms
(cbrt (tanh (/ t y)))
1.0ms
(cbrt (tanh (/ t y)))
1.0ms
(cbrt (tanh (/ t y)))

series719.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(* z (+ (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))) (* (tanh (/ x y)) (+ (- 1) 1))))
167.0ms
(cbrt (tanh (/ t y)))
165.0ms
(cbrt (tanh (/ t y)))
170.0ms
(cbrt (tanh (/ t y)))

simplify1.4s

Algorithm
egg-herbie
Counts
2185 → 2185
Iterations

Useful iterations: 0 (97.0ms)

IterNodesCost
08512176236

prune25.1s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)) (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
1.5b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.5b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.5b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
60×*-un-lft-identity
54×add-cube-cbrt prod-diff
33×distribute-rgt-in distribute-lft-in associate-*r/
27×frac-sub
21×associate-*r*
18×tanh-def
17×pow1
16×cbrt-prod
15×associate-*l*
12×add-exp-log
10×add-cbrt-cube
unswap-sqr
sub-neg pow1/3 swap-sqr
pow-prod-down
expm1-log1p-u prod-exp *-commutative cbrt-unprod log1p-expm1-u add-log-exp
flip3-- flip-- distribute-lft-out-- difference-of-squares
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 207
Calls
4 calls:
5.0ms
(* (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)) (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
23.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
23.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
28.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.2s

Counts
4 → 12
Calls
4 calls:
541.0ms
(* (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)) (cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)))
220.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
213.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
217.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify79.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05623636
123662804
250012705

prune684.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series544.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ t y))
83.0ms
(tanh (/ x y))
220.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
159.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify79.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06501841
128801440
250021437

prune356.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.2b

regimes138.0ms

Accuracy

0% (1.6b remaining)

Error of 2.2b against oracle of 0.5b and baseline of 2.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample590.0ms

Algorithm
intervals
Results
331.0ms8344×body80valid
18.0ms119×body640valid
10.0ms46×body1280valid
8.0ms69×body320valid
2.0ms28×body160valid