Details

Time bar (total: 3.2m)

sample24.0ms

Algorithm
intervals
Results
11.0ms267×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.0b

Counts
2 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
0.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite22.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:
3.0ms
(tanh (/ x y))
3.0ms
(tanh (/ t y))
13.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series643.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ x y))
82.0ms
(tanh (/ t y))
218.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
260.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04741186
11938917
25002917

prune322.0ms

Filtered
101 candidates to 72 candidates (71.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New965101
Fresh011
Picked101
Done000
Total976103

Merged error: 0.2b

Counts
103 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite24.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
pow1 add-exp-log add-cbrt-cube tanh-def
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* fma-udef
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 85
Calls
4 calls:
18.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series994.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
263.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
260.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
254.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify57.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04311260
11744961
25003961

prune363.0ms

Filtered
97 candidates to 68 candidates (70.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh055
Picked011
Done000
Total976103

Merged error: 0.2b

Counts
103 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series673.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(tanh (/ t y))
82.0ms
(tanh (/ x y))
345.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
161.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify98.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07221795
131011397
250021393

prune418.0ms

Filtered
145 candidates to 98 candidates (67.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1432145
Fresh224
Picked011
Done011
Total1456151

Merged error: 0.2b

Counts
151 → 6

localize23.0ms

Local error

Found 4 expressions with local error:

4.4b
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
8.0b
(cbrt (tanh (/ t y)))
8.0b
(cbrt (tanh (/ t y)))
8.0b
(cbrt (tanh (/ t y)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×associate-*l*
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-prod cbrt-div add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow1/3 pow-prod-down prod-exp cbrt-unprod tanh-def
*-commutative fma-udef
distribute-rgt-in distribute-lft-in
Counts
4 → 83
Calls
4 calls:
7.0ms
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
4.0ms
(cbrt (tanh (/ t y)))
4.0ms
(cbrt (tanh (/ t y)))
4.0ms
(cbrt (tanh (/ t y)))

series3.2m

Counts
4 → 12
Calls
4 calls:
3.2m
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
177.0ms
(cbrt (tanh (/ t y)))
178.0ms
(cbrt (tanh (/ t y)))
177.0ms
(cbrt (tanh (/ t y)))

simplify41.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0323868
11185777
25001751

prune486.0ms

Filtered
95 candidates to 82 candidates (86.3%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New95095
Fresh033
Picked011
Done022
Total956101

Merged error: 0.2b

Counts
101 → 6

regimes178.0ms

Accuracy

60.7% (1.1b remaining)

Error of 1.5b against oracle of 0.4b and baseline of 3.2b

bsearch2.0ms

simplify6.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03150
13150

end0.0ms

sample600.0ms

Algorithm
intervals
Results
333.0ms8338×body80valid
13.0ms87×body640valid
10.0ms47×body1280valid
5.0ms43×body320valid
3.0ms38×body160valid