Details

Time bar (total: 4.0s)

sample26.0ms

Algorithm
intervals
Results
13.0ms262×body80valid
0.0msbody320valid
0.0msbody640valid
0.0msbody1280valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.7b

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series978.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ t y))
226.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
253.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
419.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify67.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05461798
121801400
250031397

prune370.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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:
2.0ms
(tanh (/ x y))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
16.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series797.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ x y))
335.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
218.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
162.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify98.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07712264
133311740
250021733

prune426.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(- x (* x z))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity fma-neg prod-diff add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 20
Calls
1 calls:
3.0ms
(- x (* x z))

series34.0ms

Counts
1 → 3
Calls
1 calls:
34.0ms
(- x (* x z))

simplify48.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
08996
128884
2134383
3500169

prune49.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 2 expressions with local error:

3.1b
(/ (* t z) y)
10.0b
(fma y (/ (* t z) y) x)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 33
Calls
2 calls:
4.0ms
(/ (* t z) y)
1.0ms
(fma y (/ (* t z) y) x)

series67.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ (* t z) y)
48.0ms
(fma y (/ (* t z) y) x)

simplify68.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0133144
1573122
22685122
35001122

prune84.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes134.0ms

Accuracy

25.5% (3.2b remaining)

Error of 3.5b against oracle of 0.4b and baseline of 4.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01917
11917

end0.0ms

sample570.0ms

Algorithm
intervals
Results
324.0ms8301×body80valid
13.0ms93×body640valid
10.0ms48×body1280valid
7.0ms67×body320valid
3.0ms39×body160valid