Details

Time bar (total: 5.8s)

sample23.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.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

localize11.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:
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
11.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series640.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04741186
11938917
25002917

prune301.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

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

rewrite17.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:
12.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)

series993.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
255.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
256.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
258.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04311260
11744961
25003961

prune346.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

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

rewrite28.0ms

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

series674.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06851652
130001257
250021253

prune352.0ms

Filtered
129 candidates to 86 candidates (66.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1272129
Fresh224
Picked011
Done011
Total1296135

Merged error: 0.2b

Counts
135 → 6

localize27.0ms

Local error

Found 4 expressions with local error:

8.0b
(cbrt (tanh (/ t y)))
8.0b
(cbrt (tanh (/ t y)))
8.0b
(cbrt (tanh (/ t y)))
19.0b
(fma (- (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y))))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod cbrt-div
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 tanh-def
fma-udef
Counts
4 → 58
Calls
4 calls:
3.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))
1.0ms
(fma (- (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y))))))

series766.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt (tanh (/ t y)))
174.0ms
(cbrt (tanh (/ t y)))
177.0ms
(cbrt (tanh (/ t y)))
238.0ms
(fma (- (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y))))))

simplify56.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0222754
1548661
22096639
35002585

prune455.0ms

Filtered
70 candidates to 66 candidates (94.3%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New70070
Fresh033
Picked011
Done022
Total70676

Merged error: 0.2b

Counts
76 → 6

regimes185.0ms

Accuracy

60.8% (1.1b remaining)

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

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03150
13150

end0.0ms

sample591.0ms

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