Details

Time bar (total: 5.6s)

sample26.0ms

Algorithm
intervals
Results
13.0ms262×body80valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid

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

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.2b
(- (tanh (/ t y)) (tanh (/ x y)))
5.7b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

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

series800.0ms

Counts
4 → 12
Calls
4 calls:
330.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
80.0ms
(tanh (/ t y))
230.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
159.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify75.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05841136
126681079
250011079

prune277.0ms

Filtered
95 candidates to 73 candidates (76.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New86995
Fresh000
Picked101
Done000
Total87996

Merged error: 0.9b

Counts
96 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series670.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ t y))
222.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
207.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
160.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05391404
123441324
250011324

prune309.0ms

Filtered
117 candidates to 86 candidates (73.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1143117
Fresh538
Picked011
Done000
Total1197126

Merged error: 0.2b

Counts
126 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
1.2b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.6b
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
2.0b
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
66×associate-*r/
34×distribute-rgt-in distribute-lft-in
32×pow1 add-exp-log
27×frac-sub
20×add-cbrt-cube
19×pow-prod-down prod-exp cbrt-unprod
18×tanh-def
14×sub-neg
13×add-sqr-sqrt
11×*-un-lft-identity
10×associate-*l*
add-cube-cbrt
associate-*r*
cbrt-prod
add-log-exp
flip3-- *-commutative flip--
pow1/3 distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 141
Calls
4 calls:
1.0ms
(cbrt y)
10.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
19.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

series910.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(cbrt y)
214.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
322.0ms
(* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y)))))
186.0ms
(* (* (cbrt y) (cbrt y)) (* (cbrt y) (* z (- (tanh (/ t y)) (tanh (/ x y))))))

simplify91.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06782084
131581715
250021651

prune361.0ms

Filtered
153 candidates to 90 candidates (58.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1530153
Fresh055
Picked011
Done011
Total1537160

Merged error: 0.2b

Counts
160 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.5b
(+ (+ x (* (tanh (/ t y)) (* y z))) (* (* y z) (neg (tanh (/ x y)))))
7.0b
(* (* y z) (neg (tanh (/ x y))))
7.3b
(* (tanh (/ t y)) (* y z))

rewrite25.0ms

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

series629.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ t y))
350.0ms
(+ (+ x (* (tanh (/ t y)) (* y z))) (* (* y z) (neg (tanh (/ x y)))))
87.0ms
(* (* y z) (neg (tanh (/ x y))))
110.0ms
(* (tanh (/ t y)) (* y z))

simplify91.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0618952
13013883
25001881

prune246.0ms

Filtered
93 candidates to 70 candidates (75.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New90393
Fresh224
Picked101
Done112
Total946100

Merged error: 0.2b

Counts
100 → 6

regimes117.0ms

Accuracy

0% (2.3b remaining)

Error of 2.4b against oracle of 0.1b and baseline of 2.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01913
11913

end0.0ms

sample661.0ms

Algorithm
intervals
Results
402.0ms8337×body80valid
16.0ms87×body640valid
10.0ms37×body1280valid
8.0ms62×body320valid
4.0ms42×body160valid

Profiling

Loading profile data...