Details

Time bar (total: 7.1s)

sample105.0ms

Algorithm
intervals
Results
51.0ms131×body1280valid
13.0ms57×body640valid
10.0ms256×pre80true
7.0ms19×body320valid
2.0ms45×body80valid
0.0msbody160valid

simplify21.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: 15.1b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.6b
(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))

series284.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(+ x (- (tan (+ y z)) (tan a)))
112.0ms
(- (tan (+ y z)) (tan a))
55.0ms
(tan (+ y z))

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune148.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)) (- 1 (* (tan y) (tan z)))) (tan a))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(+ (tan y) (tan z))
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:
14.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
4.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series897.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune285.0ms

Filtered
79 candidates to 59 candidates (74.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New691079
Fresh606
Picked101
Done000
Total761086

Merged error: 0.0b

Counts
86 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

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

series590.0ms

Counts
4 → 12
Calls
4 calls:
338.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
90.0ms
(+ (tan y) (tan z))
94.0ms
(/ (* (tan y) (sin z)) (cos z))
67.0ms
(* (tan y) (sin z))

simplify42.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0384767
11385691
25001691

prune320.0ms

Filtered
83 candidates to 59 candidates (71.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New80383
Fresh369
Picked101
Done000
Total84993

Merged error: 0.0b

Counts
93 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
18×add-log-exp
tan-quot add-sqr-sqrt sum-log distribute-lft-out
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
flip3-+ flip-+
+-commutative associate-*r* associate-*l* frac-add
distribute-rgt-neg-in neg-log distribute-neg-frac
neg-sub0 frac-times associate-+r- associate-+l+ associate-*r/ unsub-neg pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 70
Calls
4 calls:
17.0ms
(+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (- (tan a)))
10.0ms
(+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
4.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series773.0ms

Counts
4 → 12
Calls
4 calls:
330.0ms
(+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (- (tan a)))
265.0ms
(+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
88.0ms
(+ (tan y) (tan z))
89.0ms
(* (tan y) (tan z))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0400937
11442890
25001867

prune251.0ms

Filtered
82 candidates to 59 candidates (72.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New78482
Fresh448
Picked011
Done000
Total82991

Merged error: 0.0b

Counts
91 → 9

regimes238.0ms

Accuracy

0% (0.2b 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
02112
12112

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.5s3816×body1280valid
459.0ms2058×body640valid
304.0ms8000×pre80true
105.0ms695×body320valid
52.0ms1165×body80valid
29.0ms266×body160valid