Details

Time bar (total: 4.9s)

sample23.0ms

Algorithm
intervals
Results
10.0ms261×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody1280valid

simplify73.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: 3.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
18×frac-sub
14×tanh-def
11×associate-*r/
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
add-log-exp
add-cube-cbrt associate-*r*
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
4 → 78
Calls
4 calls:
1.0ms
(tanh (/ t y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(tanh (/ x y))
25.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series534.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ t y))
219.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
79.0ms
(tanh (/ x y))
155.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify65.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05121026
12370971
25002971

prune293.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.4b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.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 (/ t y))
1.0ms
(tanh (/ x y))
25.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
40.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series531.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
80.0ms
(tanh (/ x y))
214.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
157.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04701039
12128970
25002970

prune309.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (tanh (/ t y)) 3)
0.3b
(* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
6.2b
(* y (* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y)))))
13.7b
(cbrt (pow (tanh (/ t y)) 3))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
24×cube-div add-sqr-sqrt
21×cbrt-div
18×frac-sub
16×cbrt-prod
15×*-un-lft-identity
14×tanh-def
13×add-cube-cbrt
12×pow1 add-exp-log add-cbrt-cube
10×distribute-rgt-in distribute-lft-in associate-*r*
unpow-prod-down cube-prod
sub-neg associate-*l*
difference-of-squares
pow-prod-down prod-exp cbrt-unprod add-log-exp
pow-unpow sqr-pow
cube-mult flip3-- unpow3 *-commutative flip--
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 126
Calls
4 calls:
2.0ms
(pow (tanh (/ t y)) 3)
53.0ms
(* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
70.0ms
(* y (* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y)))))
3.0ms
(cbrt (pow (tanh (/ t y)) 3))

series581.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(pow (tanh (/ t y)) 3)
214.0ms
(* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
158.0ms
(* y (* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y)))))
77.0ms
(cbrt (pow (tanh (/ t y)) 3))

simplify82.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06041410
127881235
250011228

prune425.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 1.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* (* y (tanh (/ t y))) z) (* y (* (- (tanh (/ x y))) z)))
0.6b
(* (- (tanh (/ x y))) z)
5.8b
(* y (tanh (/ t y)))
7.5b
(* y (* (- (tanh (/ x y))) z))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/ associate-*l/
16×associate-*l*
15×add-sqr-sqrt distribute-neg-frac
13×pow1 add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
frac-add tanh-def
associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
distribute-lft-neg-out
distribute-lft-neg-in distribute-rgt-neg-in *-commutative distribute-rgt-neg-out
unswap-sqr
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+
Counts
4 → 94
Calls
4 calls:
16.0ms
(+ (* (* y (tanh (/ t y))) z) (* y (* (- (tanh (/ x y))) z)))
8.0ms
(* (- (tanh (/ x y))) z)
5.0ms
(* y (tanh (/ t y)))
14.0ms
(* y (* (- (tanh (/ x y))) z))

series449.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(+ (* (* y (tanh (/ t y))) z) (* y (* (- (tanh (/ x y))) z)))
104.0ms
(* (- (tanh (/ x y))) z)
68.0ms
(* y (tanh (/ t y)))
111.0ms
(* y (* (- (tanh (/ x y))) z))

simplify86.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0616953
12992887
25001884

prune337.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.7b

regimes104.0ms

Accuracy

0% (1.3b remaining)

Error of 1.6b against oracle of 0.3b and baseline of 1.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
13111
23511
33511

end0.0ms

sample599.0ms

Algorithm
intervals
Results
345.0ms8343×body80valid
14.0ms91×body640valid
9.0ms42×body1280valid
7.0ms61×body320valid
3.0ms34×body160valid