Details

Time bar (total: 54.5s)

sample35.0ms

Algorithm
intervals
Results
21.0ms265×body80valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.0b
(tanh (/ x y))
0.9b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.4b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(tanh (/ x y))
23.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series771.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05601798
122571400
250011397

prune365.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.9b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
1.1b
(* z (- (tanh (/ x y))))
1.4b
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
1.5b
(* z (tanh (/ t y)))

rewrite23.0ms

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

series627.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
89.0ms
(* z (- (tanh (/ x y))))
241.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
90.0ms
(* z (tanh (/ t y)))

simplify70.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0570898
12499831
25002827

prune334.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.9b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
45×prod-diff
41×add-sqr-sqrt *-un-lft-identity
37×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
18×frac-sub
13×tanh-def
11×associate-*r/
pow1 add-exp-log add-cbrt-cube
add-log-exp
sub-neg associate-*r*
expm1-log1p-u log1p-expm1-u
fma-def fma-neg 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 → 142
Calls
4 calls:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
1.0ms
(tanh (/ x y))
29.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series795.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
334.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
76.0ms
(tanh (/ x y))
160.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify93.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07712264
133311740
250021733

prune418.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.9b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (tanh (/ t y)) 3)
0.3b
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
1.4b
(fma 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)))))) x)
10.4b
(/ (* 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.4s

Algorithm
rewrite-expression-head
Rules
6780×frac-add
6093×frac-times
5429×tanh-def
3407×associate-/r/
2053×associate-*r/
2031×associate-*l/
288×prod-diff
181×add-sqr-sqrt
165×*-un-lft-identity
159×unpow-prod-down cube-prod
155×add-cube-cbrt
146×distribute-rgt-in distribute-lft-in
57×sqr-pow
49×cube-mult unpow3
39×cube-div
25×associate-*r*
18×frac-sub
16×flip3-+ flip-+ difference-of-squares
12×add-exp-log add-cbrt-cube
11×associate-/l/
pow1
distribute-lft-out--
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow times-frac associate-*l* associate-/r*
cbrt-undiv sub-neg flip3-- div-exp prod-exp flip-- cbrt-unprod
difference-cubes pow-to-exp pow-pow frac-2neg pow-prod-down pow-exp clear-num *-commutative fma-udef div-inv associate-/l* rem-cube-cbrt unswap-sqr
Counts
4 → 3824
Calls
4 calls:
2.0ms
(pow (tanh (/ t y)) 3)
96.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
0.0ms
(fma 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)))))) x)
372.0ms
(/ (* 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))))))

series7.4s

Counts
4 → 12
Calls
4 calls:
123.0ms
(pow (tanh (/ t y)) 3)
945.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
2.7s
(fma 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)))))) x)
3.6s
(/ (* 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
3836 → 3836
Iterations

Useful iterations: 0 (169.0ms)

IterNodesCost
013729299934

prune38.4s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.9b

regimes204.0ms

Accuracy

70.1% (1.4b remaining)

Error of 1.8b against oracle of 0.4b and baseline of 5.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03943
14343
24443
34443

end0.0ms

sample965.0ms

Algorithm
intervals
Results
667.0ms8339×body80valid
25.0ms80×body640valid
23.0ms53×body1280valid
13.0ms62×body320valid
5.0ms37×body160valid