Details

Time bar (total: 8.4s)

sample104.0ms

Algorithm
intervals
Results
51.0ms122×body1280valid
15.0ms63×body640valid
10.0ms256×pre80true
4.0ms23×body320valid
2.0ms37×body80valid
1.0ms11×body160valid

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: 11.4b

Counts
2 → 1

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.3b
(- (tan (+ y z)) (tan a))
2.3b
(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)))
5.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series309.0ms

Counts
3 → 9
Calls
3 calls:
131.0ms
(+ x (- (tan (+ y z)) (tan a)))
123.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

prune77.0ms

Filtered
25 candidates to 17 candidates (68.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New18725
Fresh000
Picked101
Done000
Total19726

Merged error: 0.1b

Counts
26 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

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))
0.3b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))

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:
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))
10.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))

series996.0ms

Counts
4 → 12
Calls
4 calls:
376.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a)))
101.0ms
(+ (tan y) (tan z))
103.0ms
(* (tan z) (tan y))
416.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))

simplify99.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0340549
11074543
23987529
35001525

prune191.0ms

Filtered
39 candidates to 33 candidates (84.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New30939
Fresh606
Picked101
Done000
Total37946

Merged error: 0.0b

Counts
46 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

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

series726.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(+ (tan y) (tan z))
112.0ms
(/ (* (sin z) (tan y)) (cos z))
87.0ms
(* (sin z) (tan y))
426.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin z) (tan y)) (cos z)))) (tan a))

simplify92.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0312459
1980453
23642437
35001432

prune212.0ms

Filtered
37 candidates to 32 candidates (86.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New36137
Fresh088
Picked011
Done000
Total361046

Merged error: 0.0b

Counts
46 → 10

localize33.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin z) (tan y))
0.3b
(* (/ (* (sin z) (tan y)) (cos z)) (/ (* (sin z) (tan y)) (cos z)))
0.3b
(pow (/ (* (sin z) (tan y)) (cos z)) 3)
0.3b
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (pow (/ (* (sin z) (tan y)) (cos z)) 3))) (+ (* 1 1) (+ (* (/ (* (sin z) (tan y)) (cos z)) (/ (* (sin z) (tan y)) (cos z))) (* 1 (/ (* (sin z) (tan y)) (cos z))))) (- (tan a)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
36×frac-times
28×associate-/l*
21×associate-*r/
16×*-commutative
15×tan-quot clear-num
14×frac-2neg associate-/l/
associate-*l/
div-inv
pow2 pow-to-exp unpow-prod-down unpow3 swap-sqr associate-*r* associate-*l* un-div-inv fma-udef sqr-pow
Counts
4 → 61
Calls
4 calls:
4.0ms
(* (sin z) (tan y))
12.0ms
(* (/ (* (sin z) (tan y)) (cos z)) (/ (* (sin z) (tan y)) (cos z)))
4.0ms
(pow (/ (* (sin z) (tan y)) (cos z)) 3)
1.0ms
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (pow (/ (* (sin z) (tan y)) (cos z)) 3))) (+ (* 1 1) (+ (* (/ (* (sin z) (tan y)) (cos z)) (/ (* (sin z) (tan y)) (cos z))) (* 1 (/ (* (sin z) (tan y)) (cos z))))) (- (tan a)))

series1.7s

Counts
4 → 12
Calls
4 calls:
86.0ms
(* (sin z) (tan y))
134.0ms
(* (/ (* (sin z) (tan y)) (cos z)) (/ (* (sin z) (tan y)) (cos z)))
153.0ms
(pow (/ (* (sin z) (tan y)) (cos z)) 3)
1.3s
(fma (/ (+ (tan y) (tan z)) (- (pow 1 3) (pow (/ (* (sin z) (tan y)) (cos z)) 3))) (+ (* 1 1) (+ (* (/ (* (sin z) (tan y)) (cos z)) (/ (* (sin z) (tan y)) (cos z))) (* 1 (/ (* (sin z) (tan y)) (cos z))))) (- (tan a)))

simplify80.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0566889
13069863
25002861

prune365.0ms

Filtered
73 candidates to 44 candidates (60.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New71273
Fresh178
Picked101
Done101
Total74983

Merged error: 0.0b

Counts
83 → 9

regimes310.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
03228
13228

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.6s3905×body1280valid
467.0ms2006×body640valid
316.0ms8000×pre80true
103.0ms641×body320valid
56.0ms1147×body80valid
35.0ms301×body160valid