Details

Time bar (total: 8.0s)

sample118.0ms

Algorithm
intervals
Results
57.0ms125×body1280valid
18.0ms256×pre80true
16.0ms65×body640valid
2.0ms15×body320valid
2.0ms43×body80valid
1.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

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: 14.4b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.2b
(+ x (- (tan (+ y z)) (tan a)))
3.8b
(tan (+ y z))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
7.0ms
(- (tan (+ y z)) (tan a))
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
4.0ms
(tan (+ y z))

series281.0ms

Counts
3 → 9
Calls
3 calls:
111.0ms
(- (tan (+ y z)) (tan a))
118.0ms
(+ x (- (tan (+ y z)) (tan a)))
52.0ms
(tan (+ y z))

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune147.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New44751
Fresh000
Picked101
Done000
Total45752

Merged error: 0.1b

Counts
52 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
5.0ms
(+ (tan y) (tan z))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
14.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
6.0ms
(* (tan y) (tan z))

series882.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(+ (tan y) (tan z))
369.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
332.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
91.0ms
(* (tan y) (tan z))

simplify78.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune273.0ms

Filtered
79 candidates to 59 candidates (74.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New70979
Fresh516
Picked101
Done000
Total761086

Merged error: 0.1b

Counts
86 → 10

localize31.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (cos z))
0.2b
(+ x (- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))
0.2b
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
10×add-cube-cbrt
add-log-exp
pow1
associate-*r* associate-*l*
tan-quot
times-frac prod-exp cbrt-unprod associate-/l*
cbrt-undiv associate-+r+ flip3-+ div-exp pow-prod-down sum-log *-commutative flip-+ associate-/l/ distribute-lft-out unswap-sqr
+-commutative frac-times associate-+r- sub-neg frac-2neg diff-log associate-*r/ associate-*l/ clear-num associate-/r* associate-/r/ cos-mult sin-cos-mult div-inv distribute-lft-out--
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (sin y) (cos z))
19.0ms
(+ x (- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a)))
6.0ms
(* (tan y) (tan z))
10.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

series603.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sin y) (cos z))
328.0ms
(+ x (- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a)))
87.0ms
(* (tan y) (tan z))
143.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04791163
117351026
250011026

prune391.0ms

Filtered
93 candidates to 67 candidates (72.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New90393
Fresh279
Picked101
Done000
Total9310103

Merged error: 0.1b

Counts
103 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos a))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 96
Calls
4 calls:
8.0ms
(* (+ (tan y) (tan z)) (cos a))
5.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (tan z))
15.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series785.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(* (+ (tan y) (tan z)) (cos a))
90.0ms
(* (tan y) (tan z))
89.0ms
(* (tan y) (tan z))
458.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify74.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05871304
127011144
250031128

prune387.0ms

Filtered
108 candidates to 83 candidates (76.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1080108
Fresh099
Picked011
Done000
Total10810118

Merged error: 0.1b

Counts
118 → 10

regimes356.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02620
12620

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.7s3900×body1280valid
536.0ms8000×pre80true
509.0ms2016×body640valid
115.0ms665×body320valid
59.0ms1150×body80valid
32.0ms269×body160valid