Details

Time bar (total: 10.1s)

sample126.0ms

Algorithm
intervals
Results
60.0ms123×body1280valid
19.0ms256×pre80true
16.0ms59×body640valid
4.0ms23×body320valid
2.0ms42×body80valid
1.0msbody160valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 12.4b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series330.0ms

Counts
3 → 9
Calls
3 calls:
137.0ms
(+ x (- (tan (+ y z)) (tan a)))
130.0ms
(- (tan (+ y z)) (tan a))
62.0ms
(tan (+ y z))

simplify102.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune227.0ms

Filtered
81 candidates to 59 candidates (72.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New72981
Fresh000
Picked101
Done000
Total73982

Merged error: 0.1b

Counts
82 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
5.0ms
(+ (tan y) (tan z))
20.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
15.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
6.0ms
(* (tan y) (tan z))

series972.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(+ (tan y) (tan z))
360.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
413.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
103.0ms
(* (tan y) (tan z))

simplify83.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06764084
120873388
250013271

prune617.0ms

Filtered
219 candidates to 132 candidates (60.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2136219
Fresh448
Picked101
Done000
Total21810228

Merged error: 0.0b

Counts
228 → 10

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
153×*-un-lft-identity
103×times-frac
86×add-sqr-sqrt
79×add-cube-cbrt
63×prod-diff
24×distribute-lft-out
21×fma-neg
10×add-exp-log add-cbrt-cube
associate-/r/
pow1 associate-/r* div-inv associate-/l* add-log-exp
tan-quot flip3-- flip--
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l*
cbrt-undiv quot-tan frac-2neg div-exp clear-num difference-of-squares
frac-times sub-neg diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 185
Calls
4 calls:
5.0ms
(/ (sin z) (cos z))
5.0ms
(/ (sin y) (cos y))
28.0ms
(- (/ (+ (/ (sin z) (cos z)) (/ (sin y) (cos y))) (- 1 (* (tan y) (tan z)))) (tan a))
6.0ms
(* (tan y) (tan z))

series547.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ (sin z) (cos z))
20.0ms
(/ (sin y) (cos y))
405.0ms
(- (/ (+ (/ (sin z) (cos z)) (/ (sin y) (cos y))) (- 1 (* (tan y) (tan z)))) (tan a))
101.0ms
(* (tan y) (tan z))

simplify80.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06583456
121362806
250012760

prune645.0ms

Filtered
197 candidates to 118 candidates (59.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1970197
Fresh099
Picked011
Done000
Total19710207

Merged error: 0.0b

Counts
207 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))
0.7b
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
2.2b
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
89×add-sqr-sqrt
62×add-cube-cbrt
54×prod-diff
53×times-frac
18×cbrt-prod fma-neg
12×unpow-prod-down cube-prod distribute-lft-out
10×difference-of-squares
associate-/r/
tan-quot pow1 add-exp-log flip3-- add-cbrt-cube flip--
cube-div add-log-exp
distribute-lft-out--
expm1-log1p-u log1p-expm1-u div-inv
pow-unpow cbrt-div associate-*r* associate-*l* frac-sub
cube-mult unpow3 sqr-pow
frac-times pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt unswap-sqr
Counts
4 → 179
Calls
4 calls:
15.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))
17.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
14.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

series1.6s

Counts
4 → 12
Calls
4 calls:
417.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
98.0ms
(* (tan y) (tan z))
639.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
406.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

simplify93.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06203625
123483053
250013023

prune470.0ms

Filtered
191 candidates to 103 candidates (53.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1910191
Fresh088
Picked011
Done011
Total19110201

Merged error: 0.0b

Counts
201 → 10

regimes618.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
02515
12515

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.7s3928×body1280valid
544.0ms8000×pre80true
499.0ms1965×body640valid
117.0ms668×body320valid
62.0ms1150×body80valid
35.0ms289×body160valid