Details

Time bar (total: 6.5s)

sample106.0ms

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

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

rewrite11.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)))
4.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series280.0ms

Counts
3 → 9
Calls
3 calls:
115.0ms
(+ x (- (tan (+ y z)) (tan a)))
115.0ms
(- (tan (+ y z)) (tan a))
50.0ms
(tan (+ y z))

simplify68.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0156202
1359202
2859201
32919201
45001201

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
14×tan-quot
frac-sub
flip3-+ flip-+ associate-/l/
+-commutative sub-neg associate-+r+ frac-add
frac-times associate-+r- flip3-- frac-2neg associate-*r/ associate-*l/ clear-num *-commutative flip--
Counts
4 → 24
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)))
3.0ms
(+ (tan y) (tan z))
4.0ms
(* (tan z) (tan y))

series885.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0321548
11005545
23675533
35002533

prune165.0ms

Filtered
36 candidates to 30 candidates (83.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New28836
Fresh404
Picked101
Done000
Total33841

Merged error: 0.1b

Counts
41 → 8

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan z) (tan y))
0.3b
(* (tan z) (tan z))
0.3b
(* (tan y) (tan y))
4.5b
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (- (tan y) (tan z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
38×tan-quot
11×associate-/l/
10×frac-sub
frac-times associate-*r/ associate-*l/
*-commutative
associate-/l* difference-of-squares
associate-/r/
pow2 flip3-- flip--
frac-2neg div-sub clear-num div-inv
Counts
4 → 36
Calls
4 calls:
3.0ms
(* (tan z) (tan y))
4.0ms
(* (tan z) (tan z))
4.0ms
(* (tan y) (tan y))
12.0ms
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (- (tan y) (tan z)))

series364.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (tan z) (tan y))
33.0ms
(* (tan z) (tan z))
30.0ms
(* (tan y) (tan y))
214.0ms
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (- (tan y) (tan z)))

simplify76.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0271300
1869299
23028292
35002292

prune226.0ms

Filtered
48 candidates to 35 candidates (72.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New46248
Fresh167
Picked101
Done000
Total48856

Merged error: 0.1b

Counts
56 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan z) (tan z))
0.3b
(* (tan y) (tan y))
3.1b
(/ (* (tan z) (tan z)) (- (tan y) (tan z)))
5.6b
(/ (* (tan y) (tan y)) (- (tan y) (tan z)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×tan-quot
associate-/r/ associate-/l/
frac-times associate-*r/ associate-*l/ *-commutative associate-/l*
pow2 flip3-- frac-2neg clear-num frac-sub flip-- div-inv
Counts
4 → 32
Calls
4 calls:
4.0ms
(* (tan z) (tan z))
4.0ms
(* (tan y) (tan y))
8.0ms
(/ (* (tan z) (tan z)) (- (tan y) (tan z)))
8.0ms
(/ (* (tan y) (tan y)) (- (tan y) (tan z)))

series492.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (tan z) (tan z))
31.0ms
(* (tan y) (tan y))
207.0ms
(/ (* (tan z) (tan z)) (- (tan y) (tan z)))
219.0ms
(/ (* (tan y) (tan y)) (- (tan y) (tan z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0232277
1711277
22146272
35002271

prune168.0ms

Filtered
44 candidates to 32 candidates (72.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New43144
Fresh167
Picked011
Done000
Total44852

Merged error: 0.1b

Counts
52 → 8

regimes255.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
02323
12323

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.7s3816×body1280valid
513.0ms2058×body640valid
320.0ms8000×pre80true
116.0ms695×body320valid
57.0ms1165×body80valid
35.0ms266×body160valid