Details

Time bar (total: 1.1m)

sample23.0ms

Algorithm
intervals
Results
11.0ms267×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39648
434728
550028

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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
add-log-exp
add-cube-cbrt sub-neg associate-*r*
distribute-rgt-in associate-+r+ distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
+-commutative flip3-+ diff-log associate-*l* sum-log *-commutative flip-+
Counts
4 → 83
Calls
4 calls:
2.0ms
(tanh (/ t y))
4.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
10.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series774.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05841136
126581079
250021079

prune301.0ms

Filtered
95 candidates to 73 candidates (76.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.2b

localize11.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)) (tanh (/ x y)))
1.2b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
2.7b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite36.0ms

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

series917.0ms

Counts
4 → 12
Calls
4 calls:
326.0ms
(+ x (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
223.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
210.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
158.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify77.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06281534
127121452
250011452

prune357.0ms

Filtered
126 candidates to 88 candidates (69.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
1.2b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.3b
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
1.6b
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite52.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:
1.0ms
(cbrt y)
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
22.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series897.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt y)
210.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
320.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
186.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify87.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06782084
131521715
250031651

prune430.0ms

Filtered
153 candidates to 91 candidates (59.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.5b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tanh (/ t y)) (tanh (/ t y)))
1.2b
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
2.7b
(* y (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))))
10.5b
(/ (* y (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
6780×frac-add
6102×frac-times
5442×tanh-def
3407×associate-/r/
2089×associate-*r/
2034×associate-*l/
54×cube-div
41×add-sqr-sqrt
29×associate-*r*
27×frac-sub
23×*-un-lft-identity
22×add-exp-log add-cbrt-cube
18×pow1
16×flip3-+ flip-+ difference-of-squares
13×add-cube-cbrt
12×unpow-prod-down cube-prod
11×associate-/l/
10×distribute-rgt-in distribute-lft-in
associate-*l*
prod-exp cbrt-unprod sqr-pow
sub-neg
pow-prod-down distribute-lft-out--
add-log-exp
cbrt-undiv flip3-- times-frac swap-sqr div-exp associate-/r* *-commutative flip--
unswap-sqr
difference-cubes pow2 frac-2neg pow-plus clear-num pow-sqr pow-prod-up div-inv associate-/l*
Counts
4 → 3573
Calls
4 calls:
6.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
30.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
20.0ms
(* y (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))))
306.0ms
(/ (* y (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

series18.0s

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (tanh (/ t y)) (tanh (/ t y)))
978.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
337.0ms
(* y (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))))
16.5s
(/ (* y (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

simplify2.3s

Algorithm
egg-herbie
Counts
3585 → 3585
Iterations

Useful iterations: 0 (145.0ms)

IterNodesCost
013456292553

prune38.1s

Filtered
3585 candidates to 3553 candidates (99.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes131.0ms

Accuracy

81.9% (0.9b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 4.7b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03128
13128

end0.0ms

sample597.0ms

Algorithm
intervals
Results
341.0ms8328×body80valid
18.0ms114×body640valid
9.0ms46×body1280valid
7.0ms64×body320valid
3.0ms37×body160valid