Details

Time bar (total: 4.3s)

sample29.0ms

Algorithm
intervals
Results
12.0ms262×body80valid
3.0msbody160valid
1.0msbody640valid
1.0msbody320valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0548
11418
23258
39798
437008
550018

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series639.0ms

Counts
4 → 12
Calls
4 calls:
329.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
75.0ms
(tanh (/ t y))
78.0ms
(tanh (/ x y))
157.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify64.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0509771
12427725
25003725

prune226.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New77582
Fresh000
Picked011
Done000
Total77683

Merged error: 0.1b

Counts
83 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series534.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ t y))
81.0ms
(tanh (/ x y))
212.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
159.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify59.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04701039
12128970
25003970

prune258.0ms

Filtered
104 candidates to 75 candidates (72.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1022104
Fresh314
Picked011
Done011
Total1055110

Merged error: 0.0b

Counts
110 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

2.1b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
2.1b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
8.5b
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
8.5b
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite56.0ms

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

series828.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
158.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))
254.0ms
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))
258.0ms
(sqrt (* y (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify59.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04961900
118651796
250011796

prune437.0ms

Filtered
132 candidates to 92 candidates (69.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1320132
Fresh022
Picked011
Done022
Total1325137

Merged error: 0.0b

Counts
137 → 5

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(- x (* x z))

rewrite3.0ms

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

series33.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
06460
119754
268353
3192253
4500253

prune22.0ms

Filtered
15 candidates to 10 candidates (66.7%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New15015
Fresh011
Picked011
Done033
Total15520

Merged error: 0.0b

Counts
20 → 5

regimes125.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample673.0ms

Algorithm
intervals
Results
397.0ms8318×body80valid
15.0ms84×body640valid
12.0ms50×body1280valid
8.0ms62×body320valid
3.0ms34×body160valid

Profiling

Loading profile data...