Details

Time bar (total: 6.8s)

sample106.0ms

Algorithm
intervals
Results
52.0ms131×body1280valid
13.0ms57×body640valid
10.0ms256×pre80true
6.0ms45×body80valid
3.0ms19×body320valid
0.0msbody160valid

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

Counts
2 → 1

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot
tan-sum
+-commutative frac-sub
sub-neg associate-+r+
associate-+r- flip3-- flip3-+ flip-- flip-+
Counts
3 → 16
Calls
3 calls:
3.0ms
(+ x (- (tan (+ y z)) (tan a)))
5.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series294.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (27.0ms)

IterNodesCost
0166201
1390199
2971199
33324198
45002198

prune74.0ms

Filtered
25 candidates to 17 candidates (68.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New20525
Fresh000
Picked101
Done000
Total21526

Merged error: 0.1b

Counts
26 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
14×tan-quot
frac-sub
flip3-+ fma-neg flip-+ associate-/l/
+-commutative sub-neg associate-+r+ flip3-- frac-add associate-/r/ flip--
frac-times associate-+r- frac-2neg associate-*r/ associate-*l/ clear-num *-commutative div-inv
Counts
4 → 27
Calls
4 calls:
9.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))
5.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a)))
4.0ms
(+ (tan y) (tan z))
4.0ms
(* (tan z) (tan y))

series936.0ms

Counts
4 → 12
Calls
4 calls:
392.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))
355.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a)))
94.0ms
(+ (tan y) (tan z))
95.0ms
(* (tan z) (tan y))

simplify97.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0340549
11078543
23992529
35001525

prune183.0ms

Filtered
39 candidates to 33 candidates (84.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New31839
Fresh404
Picked101
Done000
Total36844

Merged error: 0.1b

Counts
44 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan z) (tan y))
0.2b
(* (tan z) (tan y))
0.2b
(* (tan z) (tan y))
0.3b
(* (* (tan z) (tan y)) (* (tan z) (tan y)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
44×tan-quot
20×frac-times
14×associate-*r/ associate-*l/
*-commutative
swap-sqr associate-*r* associate-*l*
pow2
Counts
4 → 35
Calls
4 calls:
4.0ms
(* (tan z) (tan y))
4.0ms
(* (tan z) (tan y))
4.0ms
(* (tan z) (tan y))
9.0ms
(* (* (tan z) (tan y)) (* (tan z) (tan y)))

series391.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan z) (tan y))
92.0ms
(* (tan z) (tan y))
92.0ms
(* (tan z) (tan y))
115.0ms
(* (* (tan z) (tan y)) (* (tan z) (tan y)))

simplify86.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0210296
1827292
23374291
35002287

prune221.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New46147
Fresh257
Picked101
Done000
Total49655

Merged error: 0.1b

Counts
55 → 6

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot
+-commutative flip3-+ flip-+ fma-udef
frac-times associate-+r+ associate-*r/ associate-*l/ frac-add *-commutative
Counts
4 → 13
Calls
4 calls:
2.0ms
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan z) (tan y)))) (- (tan a))))
3.0ms
(+ (tan y) (tan z))
1.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan z) (tan y)))) (- (tan a)))
4.0ms
(* (tan z) (tan y))

series875.0ms

Counts
4 → 12
Calls
4 calls:
327.0ms
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan z) (tan y)))) (- (tan a))))
103.0ms
(+ (tan y) (tan z))
352.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan z) (tan y)))) (- (tan a)))
93.0ms
(* (tan z) (tan y))

simplify51.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0207301
1505296
21516295
35001294

prune109.0ms

Filtered
25 candidates to 21 candidates (84.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New23225
Fresh235
Picked101
Done000
Total26531

Merged error: 0.0b

Counts
31 → 5

regimes179.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
02320
12320

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.6s3816×body1280valid
495.0ms2058×body640valid
326.0ms8000×pre80true
113.0ms695×body320valid
59.0ms1165×body80valid
31.0ms266×body160valid