Details

Time bar (total: 6.5s)

sample24.0ms

Algorithm
intervals
Results
11.0ms279×body80valid
0.0msbody320valid
0.0msbody640valid
0.0msbody160valid

simplify77.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.7b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.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:
3.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
1.0ms
(tanh (/ t y))
23.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series594.0ms

Counts
3 → 9
Calls
3 calls:
345.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
83.0ms
(tanh (/ t y))
166.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify64.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0497706
12354660
25002660

prune209.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.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:
4.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
1.0ms
(tanh (/ t y))
21.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
37.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series823.0ms

Counts
4 → 12
Calls
4 calls:
348.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
80.0ms
(tanh (/ t y))
231.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
164.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05441169
124201098
250011098

prune334.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.9b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.1b
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
3.3b
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite168.0ms

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

series951.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(cbrt y)
226.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
335.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
196.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify94.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06782084
131521715
250031651

prune633.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.2b
(pow (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) 3)
4.6b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
26.4b
(cbrt (pow (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) 3))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
27×frac-sub
22×cube-div
19×tanh-def
15×pow1 add-exp-log add-cbrt-cube
11×cbrt-div
add-sqr-sqrt *-un-lft-identity
cbrt-prod
add-cube-cbrt
pow-prod-down prod-exp cbrt-unprod
associate-*r*
add-log-exp
pow-unpow flip3-- pow-pow pow-exp flip-- rem-cube-cbrt
distribute-rgt-in cube-mult sub-neg unpow-prod-down distribute-lft-in unpow3 cube-prod sqr-pow
pow-to-exp pow1/3 associate-*l* *-commutative rem-cbrt-cube distribute-lft-out-- difference-of-squares
Counts
4 → 109
Calls
4 calls:
1.0ms
(tanh (/ t y))
17.0ms
(pow (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) 3)
26.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(cbrt (pow (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) 3))

series839.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(tanh (/ t y))
418.0ms
(pow (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) 3)
168.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
168.0ms
(cbrt (pow (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) 3))

simplify110.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07371608
140901571
250011571

prune411.0ms

Pruning

10 alts after pruning (6 fresh and 4 done)

Merged error: 0.3b

regimes245.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample607.0ms

Algorithm
intervals
Results
332.0ms8299×body80valid
13.0ms87×body640valid
12.0ms43×body1280valid
8.0ms70×body320valid
3.0ms46×body160valid