Details

Time bar (total: 6.6s)

sample179.0ms

Algorithm
intervals
Results
67.0ms127×body1280valid
29.0ms256×pre80true
24.0ms67×body640valid
7.0ms26×body320valid
2.0ms29×body80valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0709
1709

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.8b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
4.3b
(tan (+ y z))

rewrite23.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:
6.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series120.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(+ x (- (tan (+ y z)) (tan a)))
38.0ms
(- (tan (+ y z)) (tan a))
35.0ms
(tan (+ y z))

simplify64.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04853570
14853570

prune94.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New46551
Fresh000
Picked101
Done000
Total47552

Merged error: 0.1b

Counts
52 → 5

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

rewrite41.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:
6.0ms
(+ (tan y) (tan z))
14.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
13.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
6.0ms
(* (tan y) (tan z))

series338.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (tan y) (tan z))
146.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
138.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
28.0ms
(* (tan y) (tan z))

simplify36.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
055641289

prune178.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New691079
Fresh044
Picked101
Done000
Total701484

Merged error: 0.1b

Counts
84 → 14

localize26.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.1b
(- (/ (+ (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)))

rewrite61.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:
21.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
20.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
6.0ms
(* (sin y) (sin z))
9.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

series317.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
135.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
11.0ms
(* (sin y) (sin z))
26.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049831680
149831680

prune153.0ms

Filtered
61 candidates to 87 candidates (-42.6%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New86187
Fresh21113
Picked011
Done000
Total8813101

Merged error: 0.1b

Counts
101 → 13

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cos z) (sin z))
0.2b
(/ (cos y) (sin y))
0.3b
(* (/ (cos y) (sin y)) (/ (cos z) (sin z)))
0.7b
(/ 1 (* (/ (cos y) (sin y)) (/ (cos z) (sin z))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
64×add-exp-log
48×add-sqr-sqrt
43×times-frac
38×add-cbrt-cube
36×add-cube-cbrt *-un-lft-identity
28×div-exp
16×prod-exp
15×cbrt-undiv
13×associate-*r* associate-*l*
pow1 associate-/l*
cbrt-unprod
associate-/r*
rec-exp 1-exp div-inv
add-log-exp unswap-sqr
frac-2neg clear-num associate-/r/
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/
*-commutative inv-pow
Counts
4 → 147
Calls
4 calls:
5.0ms
(/ (cos z) (sin z))
7.0ms
(/ (cos y) (sin y))
13.0ms
(* (/ (cos y) (sin y)) (/ (cos z) (sin z)))
11.0ms
(/ 1 (* (/ (cos y) (sin y)) (/ (cos z) (sin z))))

series64.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ (cos z) (sin z))
7.0ms
(/ (cos y) (sin y))
25.0ms
(* (/ (cos y) (sin y)) (/ (cos z) (sin z)))
25.0ms
(/ 1 (* (/ (cos y) (sin y)) (/ (cos z) (sin z))))

simplify55.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
051231743

prune143.0ms

Filtered
107 candidates to 159 candidates (-48.6%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1590159
Fresh01111
Picked011
Done011
Total15913172

Merged error: 0.1b

Counts
172 → 13

regimes931.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
02526
12526

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.7s3963×body1280valid
614.0ms8000×pre80true
522.0ms2013×body640valid
119.0ms666×body320valid
59.0ms1056×body80valid
38.0ms302×body160valid

Profiling

Loading profile data...