Details

Time bar (total: 5.6s)

sample48.0ms

Algorithm
intervals
Results
25.0ms255×body80valid
3.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
1.0msbody2560valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 13.5b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* K (+ m n))
0.0b
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
35.0b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
15×add-sqr-sqrt
add-log-exp
add-cube-cbrt
pow1 add-exp-log
unpow-prod-down add-cbrt-cube
associate-*r*
pow-unpow associate-*l* distribute-lft-out
sub-neg cos-sum associate-+r+ flip3-+ associate-*r/ sum-log flip-+ distribute-lft-out-- difference-of-squares
+-commutative distribute-rgt-in cos-diff pow-to-exp associate-+r- pow-pow distribute-lft-in times-frac diff-log pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod unswap-sqr sqr-pow
Counts
4 → 70
Calls
4 calls:
12.0ms
(* K (+ m n))
18.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series520.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* K (+ m n))
170.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
254.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
72.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0411566
11369528
25001523

prune283.0ms

Filtered
82 candidates to 58 candidates (70.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh000
Picked101
Done000
Total80383

Merged error: 1.0b

Counts
83 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
0.0b
(- l (fabs (- m n)))
0.0b
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
23×add-sqr-sqrt
16×add-cube-cbrt
13×times-frac
11×add-log-exp
pow1 add-exp-log unpow-prod-down pow-flip add-cbrt-cube
exp-prod
exp-sum associate-/r* distribute-lft-out distribute-lft-out--
pow-unpow associate-/l* difference-of-squares
associate-+r- sub-neg associate-+r+ diff-log div-exp sum-log
cbrt-undiv +-commutative pow-to-exp rec-exp flip3-- pow-pow frac-2neg flip3-+ exp-diff 1-exp pow-exp clear-num associate-/r/ flip-- flip-+ div-inv inv-pow sqr-pow
Counts
4 → 92
Calls
4 calls:
24.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
3.0ms
(- l (fabs (- m n)))
16.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series597.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
11.0ms
(- l (fabs (- m n)))
169.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
261.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify50.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04531091
116481020
250011000

prune242.0ms

Filtered
104 candidates to 65 candidates (62.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh022
Picked011
Done000
Total1043107

Merged error: 1.0b

Counts
107 → 3

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt K)
0.6b
(cbrt K)
0.6b
(cbrt K)
34.7b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
14.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series633.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt K)
173.0ms
(cbrt K)
184.0ms
(cbrt K)
102.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify97.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0111309
1265279
2681273
33070273
45001273

prune265.0ms

Filtered
55 candidates to 46 candidates (83.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New52355
Fresh101
Picked101
Done011
Total54458

Merged error: 0.9b

Counts
58 → 4

localize34.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt K)
0.6b
(cbrt K)
0.6b
(cbrt K)
34.7b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
15.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series633.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(cbrt K)
181.0ms
(cbrt K)
175.0ms
(cbrt K)
101.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify97.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0111309
1265279
2681273
33070273
45001273

prune273.0ms

Filtered
55 candidates to 47 candidates (85.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New55055
Fresh022
Picked011
Done011
Total55459

Merged error: 0.9b

Counts
59 → 4

regimes172.0ms

Accuracy

0% (0.2b remaining)

Error of 1.4b against oracle of 1.2b and baseline of 1.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
809.0ms8084×body80valid
78.0ms124×body1280valid
71.0ms164×body640valid
32.0ms105×body320valid
13.0ms64×body160valid
6.0msbody2560valid

Profiling

Loading profile data...