Details

Time bar (total: 30.8s)

sample27.0ms

Algorithm
intervals
Results
13.0ms270×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify75.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.8b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.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-log-exp
distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 60
Calls
3 calls:
1.0ms
(tanh (/ x y))
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
27.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series573.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(tanh (/ x y))
338.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
160.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify66.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0491706
12341660
25001660

prune222.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.7b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

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

series798.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ x y))
341.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
215.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
161.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05381169
124071098
250011098

prune340.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.5s

Algorithm
rewrite-expression-head
Rules
6655×associate-*r/
4785×cbrt-div
3915×frac-sub
3025×frac-times
2610×tanh-def
435×flip3-- flip--
275×associate-*l/
13×pow1 add-exp-log
add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
cbrt-prod pow1/3 associate-*l*
associate-*r* *-commutative
Counts
4 → 1808
Calls
4 calls:
755.0ms
(* y (* (* (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))))
17.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
13.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
14.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series2.0s

Counts
4 → 12
Calls
4 calls:
193.0ms
(* y (* (* (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))))
596.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
590.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
583.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify872.0ms

Algorithm
egg-herbie
Counts
1820 → 1820
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05001111990

prune22.6s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (tanh (/ t y)) z)
2.1b
(* (- (tanh (/ x y))) z)
3.7b
(* (* (- (tanh (/ x y))) z) y)
4.8b
(* (* (tanh (/ t y)) z) y)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log associate-*l/ add-cbrt-cube
16×add-sqr-sqrt
15×associate-*l*
12×add-cube-cbrt *-un-lft-identity associate-*r*
pow-prod-down prod-exp cbrt-unprod
distribute-neg-frac
*-commutative tanh-def add-log-exp
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-neg-in
unswap-sqr
neg-mul-1
Counts
4 → 93
Calls
4 calls:
6.0ms
(* (tanh (/ t y)) z)
9.0ms
(* (- (tanh (/ x y))) z)
16.0ms
(* (* (- (tanh (/ x y))) z) y)
16.0ms
(* (* (tanh (/ t y)) z) y)

series425.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (tanh (/ t y)) z)
103.0ms
(* (- (tanh (/ x y))) z)
117.0ms
(* (* (- (tanh (/ x y))) z) y)
108.0ms
(* (* (tanh (/ t y)) z) y)

simplify57.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0438616
12066538
25001538

prune310.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes116.0ms

Accuracy

0% (2.4b remaining)

Error of 2.4b against oracle of 0.1b and baseline of 2.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01925
11925

end0.0ms

sample575.0ms

Algorithm
intervals
Results
319.0ms8278×body80valid
18.0ms120×body640valid
11.0ms50×body1280valid
7.0ms63×body320valid
2.0ms32×body160valid