Details

Time bar (total: 9.9s)

sample103.0ms

Algorithm
intervals
Results
50.0ms125×body1280valid
14.0ms65×body640valid
10.0ms256×pre80true
2.0ms15×body320valid
2.0ms43×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: 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))

rewrite28.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:
14.0ms
(- (tan (+ y z)) (tan a))
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
4.0ms
(tan (+ y z))

series318.0ms

Counts
3 → 9
Calls
3 calls:
128.0ms
(- (tan (+ y z)) (tan a))
133.0ms
(+ x (- (tan (+ y z)) (tan a)))
56.0ms
(tan (+ y z))

simplify97.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0276685
1732540
23057507
35001488

prune230.0ms

Filtered
81 candidates to 59 candidates (72.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New73881
Fresh000
Picked101
Done000
Total74882

Merged error: 0.1b

Counts
82 → 8

localize17.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))

rewrite61.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))
15.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
23.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
6.0ms
(* (tan y) (tan z))

series1.0s

Counts
4 → 12
Calls
4 calls:
106.0ms
(+ (tan y) (tan z))
432.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
379.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
104.0ms
(* (tan y) (tan z))

simplify88.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06764072
120873376
250013145

prune661.0ms

Filtered
219 candidates to 132 candidates (60.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New20910219
Fresh617
Picked101
Done000
Total21611227

Merged error: 0.0b

Counts
227 → 11

localize29.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)))

rewrite39.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--
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u 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 → 104
Calls
4 calls:
8.0ms
(* (+ (tan y) (tan z)) (cos a))
6.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (tan z))
17.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series929.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(* (+ (tan y) (tan z)) (cos a))
106.0ms
(* (tan y) (tan z))
107.0ms
(* (tan y) (tan z))
544.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify82.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06071365
128351198
250011191

prune716.0ms

Filtered
116 candidates to 91 candidates (78.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1160116
Fresh01010
Picked011
Done000
Total11611127

Merged error: 0.0b

Counts
127 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
23×*-un-lft-identity
18×cbrt-prod
13×add-cube-cbrt
12×unpow-prod-down cube-prod
difference-of-squares
pow1 add-exp-log add-cbrt-cube
tan-quot cube-div add-log-exp
expm1-log1p-u times-frac log1p-expm1-u distribute-lft-out--
pow-unpow cbrt-div fma-def associate-*r* associate-*l*
cube-mult flip3-- unpow3 frac-sub flip-- sqr-pow
+-commutative frac-times pow-to-exp pow-pow flip3-+ pow1/3 associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp sum-log *-commutative rem-cbrt-cube cbrt-unprod flip-+ distribute-lft-out rem-cube-cbrt unswap-sqr
Counts
4 → 106
Calls
4 calls:
18.0ms
(+ x (cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)))
6.0ms
(* (tan y) (tan z))
14.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
15.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

series1.6s

Counts
4 → 12
Calls
4 calls:
384.0ms
(+ x (cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)))
106.0ms
(* (tan y) (tan z))
693.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
422.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

simplify80.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04891822
119211689
250011681

prune352.0ms

Filtered
118 candidates to 78 candidates (66.1%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1171118
Fresh189
Picked011
Done011
Total11811129

Merged error: 0.0b

Counts
129 → 11

regimes399.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02620
12620

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.6s3900×body1280valid
461.0ms2016×body640valid
325.0ms8000×pre80true
103.0ms665×body320valid
58.0ms1150×body80valid
29.0ms269×body160valid

Profiling

Loading profile data...