Details

Time bar (total: 6.0s)

sample25.0ms

Algorithm
intervals
Results
11.0ms260×body80valid
1.0msbody1280valid
0.0msbody640valid
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: 5.4b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.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))
11.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
12.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series452.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(tanh (/ x y))
221.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
152.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify62.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0509961
12358906
25001906

prune248.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.4b
(- (tanh (/ t y)) (tanh (/ x y)))
1.0b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
3.1b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite39.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:
2.0ms
(tanh (/ x y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
14.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series663.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(tanh (/ x y))
216.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
215.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
153.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05531404
124071324
250011324

prune356.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 1.7b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
55×associate-*r/
34×pow1 add-exp-log
32×distribute-rgt-in distribute-lft-in
22×add-cbrt-cube
21×pow-prod-down prod-exp cbrt-unprod
18×frac-sub
12×sub-neg tanh-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod
associate-*l* add-log-exp
flip3-- pow1/3 associate-*r* *-commutative flip--
Counts
4 → 117
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
16.0ms
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
20.0ms
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

series977.0ms

Counts
4 → 12
Calls
4 calls:
363.0ms
(cbrt z)
181.0ms
(cbrt z)
244.0ms
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))
188.0ms
(* y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))))

simplify87.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06361884
128801400
250021331

prune346.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 1.7b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- (tanh (/ t y)) (tanh (/ x y))) 3)
0.4b
(- (tanh (/ t y)) (tanh (/ x y)))
5.5b
(* (* y z) (cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3)))
9.6b
(cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
36×frac-sub
33×cube-div
32×cbrt-prod
28×add-sqr-sqrt *-un-lft-identity
24×tanh-def
22×cbrt-div
19×associate-*r*
15×unpow-prod-down cube-prod
14×add-cube-cbrt
11×associate-*r/
10×pow1 add-exp-log
add-cbrt-cube
distribute-lft-out-- difference-of-squares
add-log-exp
flip3-- flip--
cube-mult pow-unpow unpow3 pow-prod-down prod-exp cbrt-unprod sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*l* pow-exp *-commutative rem-cbrt-cube rem-cube-cbrt
Counts
4 → 142
Calls
4 calls:
8.0ms
(pow (- (tanh (/ t y)) (tanh (/ x y))) 3)
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
15.0ms
(* (* y z) (cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3)))
9.0ms
(cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3))

series1.0s

Counts
4 → 12
Calls
4 calls:
435.0ms
(pow (- (tanh (/ t y)) (tanh (/ x y))) 3)
221.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
152.0ms
(* (* y z) (cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3)))
220.0ms
(cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3))

simplify107.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07732152
138622091
250012077

prune468.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 1.7b

regimes180.0ms

Accuracy

0% (0.5b remaining)

Error of 1.8b against oracle of 1.3b and baseline of 1.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample625.0ms

Algorithm
intervals
Results
361.0ms8296×body80valid
18.0ms97×body640valid
13.0ms55×body1280valid
10.0ms78×body320valid
3.0ms35×body160valid