Details

Time bar (total: 8.6s)

sample110.0ms

Algorithm
intervals
Results
46.0ms116×body1280valid
21.0ms256×pre80true
15.0ms65×body640valid
4.0ms25×body320valid
2.0ms16×body160valid
2.0ms34×body80valid

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

prune2.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: 13.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.2b
(tan (+ y z))

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

series289.0ms

Counts
3 → 9
Calls
3 calls:
119.0ms
(+ x (- (tan (+ y z)) (tan a)))
116.0ms
(- (tan (+ y z)) (tan a))
54.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune133.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New45651
Fresh000
Picked101
Done000
Total46652

Merged error: 0.1b

Counts
52 → 6

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

rewrite35.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:
4.0ms
(+ (tan y) (tan z))
12.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series913.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ (tan y) (tan z))
347.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
382.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
91.0ms
(* (tan y) (tan z))

simplify74.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune251.0ms

Filtered
79 candidates to 59 candidates (74.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New73679
Fresh235
Picked101
Done000
Total76985

Merged error: 0.1b

Counts
85 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

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

series956.0ms

Counts
4 → 12
Calls
4 calls:
292.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
475.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
93.0ms
(* (tan y) (tan z))
96.0ms
(* (tan y) (tan z))

simplify81.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06551681
130861507
250011490

prune714.0ms

Filtered
104 candidates to 83 candidates (79.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh088
Picked011
Done000
Total1049113

Merged error: 0.1b

Counts
113 → 9

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

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

series903.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
392.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
46.0ms
(* (sin y) (sin z))
120.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

simplify49.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
04381203
118301082
250011082

prune272.0ms

Filtered
87 candidates to 60 candidates (69.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New85287
Fresh257
Picked101
Done011
Total88896

Merged error: 0.0b

Counts
96 → 8

regimes478.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.2s

Algorithm
intervals
Results
1.6s3862×body1280valid
519.0ms8000×pre80true
469.0ms1937×body640valid
123.0ms713×body320valid
61.0ms1190×body80valid
34.0ms298×body160valid

Profiling

Loading profile data...