Details

Time bar (total: 8.1s)

sample23.0ms

Algorithm
intervals
Results
11.0ms272×body80valid
0.0msbody640valid

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0548
11418
23258
39648
434728
550028

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.3b

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-*r/
frac-sub
pow1 add-exp-log add-cbrt-cube tanh-def
add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-rgt-in sub-neg distribute-lft-in
flip3-- associate-*l* *-commutative flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 55
Calls
3 calls:
1.0ms
(tanh (/ x y))
1.0ms
(tanh (/ t y))
23.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series359.0ms

Counts
3 → 9
Calls
3 calls:
88.0ms
(tanh (/ x y))
92.0ms
(tanh (/ t y))
179.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify61.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0426596
12079552
25001552

prune211.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.5b

localize12.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))))
4.0b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
18×frac-sub
14×tanh-def
11×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
10×distribute-rgt-in distribute-lft-in
*-un-lft-identity
add-cube-cbrt
sub-neg associate-*r* associate-*l*
pow-prod-down prod-exp cbrt-unprod add-log-exp
flip3-- *-commutative flip--
distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 92
Calls
4 calls:
1.0ms
(tanh (/ x y))
1.0ms
(tanh (/ t y))
22.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
41.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series601.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04701039
12128970
25002970

prune330.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.7b
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
0.8b
(* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))
4.0b
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
66×associate-*r/
36×pow1 add-exp-log
34×distribute-rgt-in distribute-lft-in
27×frac-sub
23×add-cbrt-cube
22×pow-prod-down prod-exp cbrt-unprod
18×tanh-def
15×add-sqr-sqrt
14×sub-neg
11×*-un-lft-identity
10×associate-*l*
add-cube-cbrt
cbrt-prod associate-*r*
add-log-exp
flip3-- *-commutative flip--
unswap-sqr
pow1/3 distribute-lft-out-- difference-of-squares
Counts
4 → 145
Calls
4 calls:
0.0ms
(cbrt z)
49.0ms
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
23.0ms
(* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))
120.0ms
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

series942.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt z)
244.0ms
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
327.0ms
(* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))
187.0ms
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

simplify109.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
06962358
133671862
250031785

prune449.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

3.2b
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))
3.2b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
3.2b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
3.2b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
297×cbrt-div
243×frac-sub
162×tanh-def
154×associate-*r/
121×frac-times
27×flip3-- flip--
16×pow1 add-exp-log
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
12×add-cbrt-cube
11×associate-*l/
pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt
add-log-exp
pow1/3 distribute-lft-out-- difference-of-squares
associate-*r* associate-*l* *-commutative
Counts
4 → 237
Calls
4 calls:
109.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))
9.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
6.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
6.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

series1.5s

Counts
4 → 12
Calls
4 calls:
397.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))
382.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
373.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
376.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify135.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
014818066
140287926
250027908

prune1.8s

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.7b

regimes149.0ms

Accuracy

47.5% (0.6b remaining)

Error of 1.6b against oracle of 1.0b and baseline of 2.1b

bsearch99.0ms

Steps
ItersRangePoint
7
6.718365351252159e-19
2.538538495065944e-17
6.807813050062858e-19
10
-7.995242360819531e+16
-91582.74243954467
-92853.53031221362

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03431
13431

end0.0ms

sample591.0ms

Algorithm
intervals
Results
332.0ms8300×body80valid
15.0ms79×body640valid
9.0ms42×body1280valid
8.0ms72×body320valid
3.0ms34×body160valid