Details

Time bar (total: 4.8s)

sample28.0ms

Algorithm
intervals
Results
14.0ms257×body80valid
1.0msbody640valid
1.0msbody320valid
0.0msbody1280valid

simplify85.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.1b

Counts
2 → 1

localize13.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)) (tanh (/ x y)))
0.0b
(tanh (/ t y))
6.3b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite32.0ms

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

series822.0ms

Counts
4 → 12
Calls
4 calls:
343.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
235.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
85.0ms
(tanh (/ t y))
159.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify75.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05841136
126681079
250011079

prune285.0ms

Filtered
95 candidates to 73 candidates (76.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New88795
Fresh000
Picked101
Done000
Total89796

Merged error: 1.1b

Counts
96 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.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:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ t y))
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series700.0ms

Counts
4 → 12
Calls
4 calls:
232.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
84.0ms
(tanh (/ t y))
219.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
164.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05391404
123441324
250011324

prune328.0ms

Filtered
117 candidates to 86 candidates (73.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1143117
Fresh246
Picked101
Done000
Total1177124

Merged error: 0.6b

Counts
124 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (neg (tanh (/ x y))) z)
2.8b
(* (tanh (/ t y)) z)
4.8b
(* y (* (neg (tanh (/ x y))) z))
5.4b
(* y (* (tanh (/ t y)) z))

rewrite28.0ms

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

series433.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (neg (tanh (/ x y))) z)
103.0ms
(* (tanh (/ t y)) z)
117.0ms
(* y (* (neg (tanh (/ x y))) z))
109.0ms
(* y (* (tanh (/ t y)) z))

simplify53.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0413588
11715510
25001509

prune257.0ms

Filtered
105 candidates to 74 candidates (70.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1041105
Fresh336
Picked101
Done000
Total1084112

Merged error: 0.6b

Counts
112 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
2.1b
(* (neg (tanh (/ x y))) z)
4.8b
(* y (* (neg (tanh (/ x y))) z))
6.9b
(* y (tanh (/ t y)))

rewrite24.0ms

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

series372.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(tanh (/ t y))
103.0ms
(* (neg (tanh (/ x y))) z)
115.0ms
(* y (* (neg (tanh (/ x y))) z))
71.0ms
(* y (tanh (/ t y)))

simplify47.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0351510
11637453
25002452

prune241.0ms

Filtered
94 candidates to 71 candidates (75.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh213
Picked011
Done000
Total95398

Merged error: 0.2b

Counts
98 → 3

regimes76.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
13111
23511
33511

end0.0ms

sample715.0ms

Algorithm
intervals
Results
445.0ms8346×body80valid
20.0ms100×body640valid
13.0ms46×body1280valid
11.0ms74×body320valid
4.0ms37×body160valid

Profiling

Loading profile data...