Details

Time bar (total: 3.4s)

sample30.0ms

Algorithm
intervals
Results
13.0ms263×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody160valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0548
11418
23258
39798
437008
550018

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.8b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.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:
2.0ms
(tanh (/ x y))
6.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ t y))
12.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series198.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(tanh (/ x y))
75.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
27.0ms
(tanh (/ t y))
69.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify61.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05121026
12380971
25001971

prune136.0ms

Filtered
71 candidates to 90 candidates (-26.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New86490
Fresh000
Picked011
Done000
Total86591

Merged error: 2.2b

Counts
91 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(tanh (/ t y))
1.0b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
3.8b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite28.0ms

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

series212.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(tanh (/ x y))
26.0ms
(tanh (/ t y))
89.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
68.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04701039
12128970
25003970

prune145.0ms

Filtered
75 candidates to 104 candidates (-38.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh123
Picked101
Done011
Total1036109

Merged error: 2.2b

Counts
109 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
2.0b
(* z (tanh (/ t y)))
2.1b
(* z (neg (tanh (/ x y))))
3.8b
(* y (+ (* z (tanh (/ t y))) (* z (neg (tanh (/ x y))))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
35×associate-*r/
18×add-sqr-sqrt
17×associate-*r*
12×add-cube-cbrt *-un-lft-identity distribute-neg-frac
10×pow1 add-exp-log add-cbrt-cube
associate-*l* frac-add tanh-def
add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-rgt-in neg-mul-1 distribute-lft-in flip3-+ distribute-rgt-neg-out flip-+ distribute-lft-out
Counts
4 → 92
Calls
4 calls:
2.0ms
(tanh (/ t y))
5.0ms
(* z (tanh (/ t y)))
6.0ms
(* z (neg (tanh (/ x y))))
10.0ms
(* y (+ (* z (tanh (/ t y))) (* z (neg (tanh (/ x y))))))

series168.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(tanh (/ t y))
33.0ms
(* z (tanh (/ t y)))
32.0ms
(* z (neg (tanh (/ x y))))
75.0ms
(* y (+ (* z (tanh (/ t y))) (* z (neg (tanh (/ x y))))))

simplify80.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0610834
13198775
25002774

prune129.0ms

Filtered
83 candidates to 104 candidates (-25.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh044
Picked011
Done011
Total1037110

Merged error: 1.2b

Counts
110 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

3.8b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
7.7b
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
7.7b
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
7.7b
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
88×associate-*r/
36×frac-sub
33×cbrt-div
24×tanh-def
pow1 add-exp-log add-cbrt-cube
distribute-rgt-in distribute-lft-in
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sub-neg flip3-- flip-- add-log-exp
cbrt-prod pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*r* *-commutative
Counts
4 → 97
Calls
4 calls:
11.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
10.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
11.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
12.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series526.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
151.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
153.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
155.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify61.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05611984
120281888
250021876

prune183.0ms

Filtered
90 candidates to 109 candidates (-21.1%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1090109
Fresh044
Picked011
Done022
Total1097116

Merged error: 1.2b

Counts
116 → 7

regimes361.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12510
22610
32610

end0.0ms

sample837.0ms

Algorithm
intervals
Results
405.0ms8306×body80valid
20.0ms104×body640valid
15.0ms56×body1280valid
8.0ms60×body320valid
4.0ms39×body160valid

Profiling

Loading profile data...