Details

Time bar (total: 3.3m)

sample24.0ms

Algorithm
intervals
Results
10.0ms270×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify77.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: 1.3b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

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

series573.0ms

Counts
3 → 9
Calls
3 calls:
87.0ms
(tanh (/ x y))
225.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
261.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify52.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04561116
11852847
25001847

prune239.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
31×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
11×associate-*r/
frac-sub
pow1 add-exp-log add-cbrt-cube
tanh-def
associate-*r* add-log-exp
sub-neg
expm1-log1p-u fma-def pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 105
Calls
3 calls:
1.0ms
(tanh (/ x y))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
30.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series587.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(tanh (/ x y))
339.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
166.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify76.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06671582
129141187
250011183

prune500.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 4 expressions with local error:

4.0b
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
6.1b
(cbrt (tanh (/ t y)))
6.1b
(cbrt (tanh (/ t y)))
6.1b
(cbrt (tanh (/ t y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log cbrt-prod cbrt-div add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod tanh-def
fma-udef
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
4 → 70
Calls
4 calls:
7.0ms
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
1.0ms
(cbrt (tanh (/ t y)))
1.0ms
(cbrt (tanh (/ t y)))
1.0ms
(cbrt (tanh (/ t y)))

series3.2m

Counts
4 → 12
Calls
4 calls:
3.2m
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
174.0ms
(cbrt (tanh (/ t y)))
172.0ms
(cbrt (tanh (/ t y)))
170.0ms
(cbrt (tanh (/ t y)))

simplify38.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0286719
11084634
25002619

prune451.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
5.0b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
5.0b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
26.8b
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt *-un-lft-identity prod-diff
32×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in associate-*r/
19×add-exp-log add-cbrt-cube
18×frac-sub
14×pow1
12×tanh-def
10×associate-*r*
prod-exp cbrt-unprod
pow-prod-down
expm1-log1p-u sub-neg flip3-- flip-- log1p-expm1-u add-log-exp
times-frac associate-/r*
cbrt-undiv div-exp associate-*l* associate-*l/ associate-/r/ *-commutative associate-/l/ distribute-lft-out-- difference-of-squares
frac-2neg clear-num fma-udef div-inv associate-/l*
Counts
4 → 147
Calls
4 calls:
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
26.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
26.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

series978.0ms

Counts
4 → 12
Calls
4 calls:
283.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
180.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
163.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
352.0ms
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

simplify107.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07343015
137772278
250022160

prune492.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0.2b

regimes159.0ms

Accuracy

0% (1.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample597.0ms

Algorithm
intervals
Results
334.0ms8278×body80valid
21.0ms120×body640valid
11.0ms50×body1280valid
7.0ms63×body320valid
2.0ms32×body160valid