Details

Time bar (total: 5.7s)

sample25.0ms

Algorithm
intervals
Results
11.0ms269×body80valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody320valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39648
434728
550028

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.5b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series461.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(tanh (/ x y))
224.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
154.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify61.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0509961
12358906
25001906

prune263.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.3b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
27×frac-sub
19×tanh-def
13×add-sqr-sqrt
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
10×distribute-rgt-in distribute-lft-in
add-cube-cbrt sub-neg
associate-*r* associate-*l* add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- flip--
*-commutative distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
Counts
4 → 105
Calls
4 calls:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ x y))
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series691.0ms

Counts
4 → 12
Calls
4 calls:
226.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
84.0ms
(tanh (/ x y))
217.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
164.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05531404
124071324
250011324

prune386.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.2b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
88×associate-*r/
36×frac-sub
33×cbrt-div
24×tanh-def
pow1 add-exp-log add-cbrt-cube
distribute-rgt-in distribute-lft-in
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sub-neg flip3-- flip-- add-log-exp
cbrt-prod pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*r* *-commutative
Counts
4 → 97
Calls
4 calls:
16.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
11.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
11.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
11.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series1.3s

Counts
4 → 12
Calls
4 calls:
159.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
379.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
388.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
385.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify60.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05651972
120151876
250031858

prune556.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/
14×pow1 add-exp-log add-cbrt-cube
13×associate-*r*
12×distribute-neg-frac
frac-add tanh-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-rgt-neg-out
associate-*l* *-commutative
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+ distribute-lft-out
Counts
4 → 83
Calls
4 calls:
9.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
2.0ms
(tanh (/ x y))
7.0ms
(* (* y z) (- (tanh (/ x y))))
6.0ms
(* (* y z) (tanh (/ t y)))

series415.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
79.0ms
(tanh (/ x y))
88.0ms
(* (* y z) (- (tanh (/ x y))))
85.0ms
(* (* y z) (tanh (/ t y)))

simplify92.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
0613904
13182829
25002828

prune292.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.7b

regimes130.0ms

Accuracy

0% (1.2b remaining)

Error of 2.0b against oracle of 0.8b and baseline of 2.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample614.0ms

Algorithm
intervals
Results
350.0ms8320×body80valid
16.0ms100×body640valid
11.0ms50×body1280valid
9.0ms74×body320valid
2.0ms31×body160valid