Details

Time bar (total: 5.7s)

sample36.0ms

Algorithm
intervals
Results
22.0ms267×body80valid
1.0msbody640valid
1.0msbody160valid
0.0msbody1280valid

simplify90.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: 4.4b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
18×frac-sub
14×tanh-def
11×associate-*r/
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
add-log-exp
add-cube-cbrt associate-*r*
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
4 → 78
Calls
4 calls:
1.0ms
(tanh (/ x y))
1.0ms
(tanh (/ t y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
24.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series593.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(tanh (/ x y))
90.0ms
(tanh (/ t y))
245.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
171.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify78.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
05121026
12370971
25001971

prune327.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.1b
(- (tanh (/ t y)) (tanh (/ x y)))
0.5b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
4.4b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite73.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:
1.0ms
(tanh (/ t y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
22.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
41.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series718.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(tanh (/ t y))
234.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
225.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
171.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify76.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05391404
123341324
250031324

prune368.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.1b
(- (pow (tanh (/ t y)) 1) (tanh (/ x y)))
0.5b
(* z (- (pow (tanh (/ t y)) 1) (tanh (/ x y))))
4.4b
(* y (* z (- (pow (tanh (/ t y)) 1) (tanh (/ x y)))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
10×distribute-rgt-in distribute-lft-in
associate-*r*
add-cube-cbrt sub-neg
associate-*r/ associate-*l* add-log-exp difference-of-squares
pow-prod-down prod-exp cbrt-unprod
flip3-- flip--
unpow-prod-down *-commutative distribute-lft-out-- sqr-pow
diff-log tanh-def unswap-sqr
Counts
4 → 82
Calls
4 calls:
1.0ms
(tanh (/ t y))
9.0ms
(- (pow (tanh (/ t y)) 1) (tanh (/ x y)))
25.0ms
(* z (- (pow (tanh (/ t y)) 1) (tanh (/ x y))))
35.0ms
(* y (* z (- (pow (tanh (/ t y)) 1) (tanh (/ x y)))))

series715.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(tanh (/ t y))
245.0ms
(- (pow (tanh (/ t y)) 1) (tanh (/ x y)))
218.0ms
(* z (- (pow (tanh (/ t y)) 1) (tanh (/ x y))))
167.0ms
(* y (* z (- (pow (tanh (/ t y)) 1) (tanh (/ x y)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0335804
11429698
25001691

prune315.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ (* (* y (tanh (/ t y))) z) (* y (* (- (tanh (/ x y))) z)))
1.5b
(* (- (tanh (/ x y))) z)
4.9b
(* y (* (- (tanh (/ x y))) z))
8.8b
(* y (tanh (/ t y)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/ associate-*l/
16×associate-*l*
15×add-sqr-sqrt distribute-neg-frac
13×pow1 add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
frac-add tanh-def
associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
distribute-lft-neg-out
distribute-lft-neg-in distribute-rgt-neg-in *-commutative distribute-rgt-neg-out
unswap-sqr
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+
Counts
4 → 94
Calls
4 calls:
16.0ms
(+ (* (* y (tanh (/ t y))) z) (* y (* (- (tanh (/ x y))) z)))
8.0ms
(* (- (tanh (/ x y))) z)
13.0ms
(* y (* (- (tanh (/ x y))) z))
5.0ms
(* y (tanh (/ t y)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(+ (* (* y (tanh (/ t y))) z) (* y (* (- (tanh (/ x y))) z)))
110.0ms
(* (- (tanh (/ x y))) z)
121.0ms
(* y (* (- (tanh (/ x y))) z))
72.0ms
(* y (tanh (/ t y)))

simplify88.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0616953
12992887
25001884

prune345.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

regimes172.0ms

Accuracy

0% (1.4b remaining)

Error of 1.6b against oracle of 0.2b and baseline of 1.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
13111
23511
33511

end0.0ms

sample952.0ms

Algorithm
intervals
Results
663.0ms8273×body80valid
29.0ms102×body640valid
16.0ms43×body1280valid
11.0ms51×body320valid
5.0ms35×body160valid