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

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.8b

Counts
2 → 1

localize16.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))
11.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series191.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05121026
12380971
25001971

prune139.0ms

Filtered
90 candidates to 71 candidates (21.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New86490
Fresh000
Picked011
Done000
Total86591

Merged error: 2.2b

Counts
91 → 5

localize12.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)))))

rewrite29.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))
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series205.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(tanh (/ x y))
26.0ms
(tanh (/ t y))
86.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
66.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

prune146.0ms

Filtered
104 candidates to 75 candidates (27.9%)
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))))))

rewrite26.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))))))

series163.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(tanh (/ t y))
31.0ms
(* z (tanh (/ t y)))
31.0ms
(* z (neg (tanh (/ x y))))
73.0ms
(* y (+ (* z (tanh (/ t y))) (* z (neg (tanh (/ x y))))))

simplify84.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0610834
13200775
25001774

prune132.0ms

Filtered
104 candidates to 83 candidates (20.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh044
Picked011
Done011
Total1037110

Merged error: 1.2b

Counts
110 → 7

localize19.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))))))

rewrite50.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:
12.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
11.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
11.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
11.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series507.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
146.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
147.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
149.0ms
(cbrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify59.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05611984
120281888
250021876

prune183.0ms

Filtered
109 candidates to 90 candidates (17.4%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1090109
Fresh044
Picked011
Done022
Total1097116

Merged error: 1.2b

Counts
116 → 7

regimes375.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

sample831.0ms

Algorithm
intervals
Results
394.0ms8306×body80valid
22.0ms104×body640valid
14.0ms56×body1280valid
8.0ms60×body320valid
4.0ms39×body160valid

Profiling

Loading profile data...